#!/bin/bash
if test "$#" -lt 1 
then
   echo "  Use this script with a file name as command line argument!"
   exit 1
fi
if [ -e $1 ]
then
   echo "OK, looks like $1 is in the current directory"
else
   echo "It appears that $1 is not in the current directory"
fi
ls $1 > /dev/null 2>&1 && echo FILE FOUND
